home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / tcprogud.sit / TC Prog Guide / card_17666.txt < prev    next >
Text File  |  1991-02-27  |  671b  |  17 lines

  1. -- card: 17666 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 4755
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 4
  9. ----- text -----
  10. ("address of") operator.  The formal parameters of scanf() now "point to" the new_age and new_weight variables defined in the Person::set() function.  scanf() reads values from the standard input and assigns them to the variables "pointed to" by its parameters.
  11.  
  12. Incidentally, scanf() also returns a value in the conventional sense:  the number of items successfully read.  As done here, it is common - buy somewhat risky - to ignore this returned value.
  13.  
  14.  
  15. -- part contents for background part 7
  16. ----- text -----
  17. 30